package Demo4.controller;

import Demo4.mapper.IUserMapper;

import java.util.Scanner;

public class UserController {
   private IUserMapper userMapper;
   /* private int age;
    private String username;
    private String password;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    private  void userReg(){

    }
*/
    public void start() {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入编号：");
        System.out.println("1.用户注册");
        System.out.println("2.用户登录");
        System.out.println("3.用户列表");
        int num=scanner.nextInt();
        switch (num){
            case 1:
               /* userReg();
                break;
                case 2:
                userLogin();
                break;
                case 3:
                userList();
                break;
                default:
                System.out.println("输入错误");
        }*/

    }
}}
